package com.bush.mall.coupon.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.coupon.entity.HomeAdvEntity;

/**
 * 首页轮播广告
 * @author RUN
 * @date 2022-11-29
 */
public interface HomeAdvService extends IService<HomeAdvEntity> {

    public static final String BEAN_ID = "mall.homeAdvService";

    /**
     * 分页查询首页轮播广告列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建首页轮播广告表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveHomeAdv(HomeAdvEntity homeAdv);


    /**
     * 修改首页轮播广告表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateHomeAdv(HomeAdvEntity homeAdv);

    /**
     * 删除指定ID的首页轮播广告
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteHomeAdv(Long id);

}

